/**
 * Wihidum - Efficient Broker Hierarchy for Publish Subscribe Middleware
 *
 * License      :   Apache License 2.0
 * Home Page    :   http://code.google.com/p/wihidum/
 * Mailing List :   wihidum@googlegroups.com
 */

package lk.mrt.cse.wihidum.client;

import org.apache.axis2.addressing.EndpointReference;

/**
 * Encapsulates the details with respect to an subscription event
 */
public class SubscriptionClientBean {
    private String subscriptionID;
    private EndpointReference brokerAddress;
    private EndpointReference adminAddress;
    private EndpointReference listenerAddress;
    private EndpointReference subscriberAddress;
    private String topic;

    public String getSubscriptionID() {
        return subscriptionID;
    }

    public void setSubscriptionID(String subscriptionID) {
        this.subscriptionID = subscriptionID;
    }

    public EndpointReference getBrokerAddress() {
        return brokerAddress;
    }

    public void setBrokerAddress(EndpointReference brokerAddress) {
        this.brokerAddress = brokerAddress;
    }

    public EndpointReference getAdminAddress() {
        return adminAddress;
    }

    public void setAdminAddress(EndpointReference adminAddress) {
        this.adminAddress = adminAddress;
    }

    public EndpointReference getListenerAddress() {
        return listenerAddress;
    }

    public void setListenerAddress(EndpointReference listenerAddress) {
        this.listenerAddress = listenerAddress;
    }

    public EndpointReference getSubscriberAddress() {
        return subscriberAddress;
    }

    public void setSubscriberAddress(EndpointReference subscriberAddress) {
        this.subscriberAddress = subscriberAddress;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

}
